package src.controller;

import java.awt.event.MouseEvent;

public class StructureOverviewMouseListener implements java.awt.event.MouseListener{
	private GameController gc;

	public StructureOverviewMouseListener(GameController gc){
		this.gc = gc;
	}

	public void mouseEntered(MouseEvent e){
	}

	public void mouseExited(MouseEvent e){
	}

	public void mousePressed(MouseEvent e){
	}

	public void mouseReleased(MouseEvent e){
	}

	public void mouseClicked(MouseEvent e){
		if(e.getButton() == MouseEvent.BUTTON1)
			gc.structureOverviewLeftMouseButtonClicked(e.getX(), e.getY());
	}
}
